lcBlockAddDimDia2 LiteCAD API

Adds a new diametric dimension object into a block.

 HANDLE lcBlockAddDimDia2 (
   HANDLE hBlock,
   double Xc,
   double Yc,
   double Radius,
   double Angle,
   double TextPos,
   LPCWSTR szText
 );

Parameters
hBlock
  Handle to a block.
Xc Yc
  Center point of circle or arc.
Radius
  Radius of circle or arc.
Angle
  Direction angle of dimension line (from the center point).
TextPos
  Text position, a distance from the center point along the dimension line.
szText
  User-supplied dimension text.
If no text is to appear, supply "." .
If only the default text is to appear, supply an empty string "".
The default text is represented as "<>" within the supplied text.

Return Value

  Handle to created diametric dimension object or NULL if the function fails.

See Also

  Dimension style,   Code sample